﻿using JYB.SummitExam.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JYB.SummitExam.IDAL
{
    public interface IUserDAL
    {
        /// <summary>
        /// 登录的泛型方法
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="name"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        T Login<T>(string name, string pwd);

        /// <summary>
        /// 获取学生的个人信息
        /// </summary>
        /// <returns></returns>
        List<SystemUserModel> GetStudentList(int id);
    }
}
